package com.law.lawcaculator.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/**
 * 问题选项关系表
 * @TableName question_options_relation
 */
@TableName(value ="question_options_relation")
@Data
public class QuestionOptionsRelation {
    /**
     * 选项ID
     */
	@TableId(value = "o_id", type = IdType.INPUT)
    private Long oId;

    /**
     * 关联问题ID
     */
	@TableField("q_id")
    private Long qId;

    /**
     * 选项编号
     */
    private String oNumber;

    /**
     * 问题编号
     */
    private String qNumber;
}